const Koa = require("koa")
const middleware = require("./middleware/index.js")

const app = new Koa()

//中间件
app.use(middleware)

module.exports = app